import Vue from 'vue'
import {Button,Form,FormItem,Input,Message,
        Container,Header,Aside,Main,Menu,Submenu,MenuItem,Breadcrumb,BreadcrumbItem,
        Card,Row,Col,Table,TableColumn,Switch,Tooltip,Pagination,Dialog,
        MessageBox,Tag,Tree,Select,Option,Cascader,Alert,Tabs,TabPane,Step,Steps
        } from 'element-ui'
Vue.config.productionTip = false  
//应用elemengui
Vue.component('el-form',Form,)
Vue.component('el-form-item',FormItem)
Vue.component('el-input',Input)
Vue.component('el-button',Button)
Vue.component('el-container',Container,)
Vue.component('el-header',Header)
Vue.component('el-aside',Aside)
Vue.component('el-main',Main)
Vue.component('el-menu',Menu,)
Vue.component('el-submenu',Submenu)
Vue.component('el-menu-item',MenuItem)
Vue.component('el-breadcrumb',Breadcrumb)
Vue.component('el-breadcrumb-item',BreadcrumbItem)
Vue.component('el-card',Card)
Vue.component('el-row',Row)
Vue.component('el-col',Col)
Vue.component('el-table',Table)
Vue.component('el-table-column',TableColumn)
Vue.component('el-switch',Switch)
Vue.component('el-tooltip',Tooltip)
Vue.component('el-pagination',Pagination)
Vue.component('el-dialog',Dialog)
Vue.component('el-tag',Tag)
Vue.component('el-tree',Tree)
Vue.component('el-select',Select)
Vue.component('el-option',Option)
Vue.component('el-cascader',Cascader)
Vue.component('el-alert',Alert)
Vue.component('el-tabs',Tabs)
Vue.component('el-tab-pane',TabPane)
Vue.component('el-step',Step)
Vue.component('el-steps',Steps)


//导入弹框提示组件，挂载到原型对象上
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm